package com.whz.gateway.common.convert;

import lombok.Data;
import org.springframework.cloud.gateway.filter.factory.rewrite.RewriteFunction;

/**
 * @author whz
 */
@Data
public class Convert<T, R> {
    private Class<T> inClass;
    private Class<R> outClass;
    private String contentType;
    private RewriteFunction<T, R> rewriteFunction;
}